import React, { Component } from 'react'

export default class Home extends Component {
  render() {

   // console.log(this.props);

    return (
      <div> home
        <button onClick={() => {
          this.props.history.push('/my')
        }}>编程式跳转代 我的页面</button>
      </div>
    )
  }
}

